package com.guoning.office_system.model;

import lombok.Data;

import java.util.Date;

@Data
public class MeetingRoomWithUser extends MeetingRoom {
    private User user;

    public MeetingRoomWithUser(Long id, String roomCode, String roomName, Integer roomType, Integer enableStatus, String remark, String creator, Date createTime, String modifier, Date modifiedTime, Integer dr, Long userId) {
        super(id, roomCode, roomName, roomType, enableStatus, remark, creator, createTime, modifier, modifiedTime, dr, userId);
    }

    public MeetingRoomWithUser(Long id, String roomCode, String roomName, Integer roomType, Integer enableStatus, String remark, String creator, Date createTime, String modifier, Date modifiedTime, Integer dr, Long userId, User user) {
        super(id, roomCode, roomName, roomType, enableStatus, remark, creator, createTime, modifier, modifiedTime, dr, userId);
        this.user = user;
    }
}